package com.briup.ch08;

import java.lang.annotation.*;

@Target({ElementType.TYPE,ElementType.FIELD,ElementType.METHOD,ElementType.CONSTRUCTOR})
@Retention(value = RetentionPolicy.RUNTIME)
@Documented
@Inherited
public @interface Demo {
//    注解的属性定义
     String name();
     int  version() default  1;
}
